home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: mellow1@usa.pipeline.com(tony honer)
- Newsgroups: comp.lang.c++
- Subject: HELP...I can't fix it!!!!!!!!
- Date: 23 Feb 1996 05:31:58 GMT
- Organization: Pipeline USA
- Message-ID: <4gjjge$f6j@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe3.h1.usa.pipeline.com
- X-PipeUser: mellow1
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (tony honer)
- X-Newsreader: Pipeline USA v3.4.0
-
- O.K. What I have is a program that is made with struct's, there are no
- classes. This program works great when it is in one program. But when I
- seperate my struct definitions into a header file, and my functions into a
- adt file, and write a driver program that calls on the functions in the adt
- file. IT DOES NOT WORK. It compiles like a dream, but when it goes to make
- I get a:
-
- DUPLICATE &OSTREAM CHAR IN FILE @#%$@
- DUPLICATE &OSTREAM NUMBER IN FILE @#%@
-
- ect,
-
- I get this every time. I tried not calling any of the routines from my
- main module, all I did was declare a variable of type(defined in header
- file) and then called on a main routine in my function file. This was
- after I had written a driver to call on all the individual functions in my
- adt, and was rewarded with the above errors. All of my (I thought,
- extremely tricky) efforts have been rewarded with the same errors. I am
- lost. I've spit my programs before, and never had this problem. Can
- anyone help??? :(
-
-
-
-